<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS样式示例</title>
    <style>
        body {
            background-color: lightgray;
            font-family: Arial, sans-serif;
            color: black;
            margin: 0;
            padding: 20px;
        }
        h1 {
            color: darkblue;
            text-align: center;
            margin-bottom: 20px;
        }
        p {
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 10px;
        }
        a {
            color: blue;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
        img {
            width: 100%;
            max-width: 600px;
            border: 1px solid #ccc;
            margin-bottom: 20px;
        }
        ul {
            list-style-type: disc;
            margin-bottom: 20px;
        }
        li {
            margin-left: 20px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }
        th {
            background-color: #f2f2f2;
        }
        form {
            margin-bottom: 20px;
        }
        input, textarea, select, button {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
        }
        header, nav, section, article, aside, footer {
            background-color: #fff;
            margin-bottom: 20px;
            padding: 20px;
            border: 1px solid #ccc;
        }
    </style>
</head>
<body>
    <header>
        <h1>网站标题</h1>
    </header>
    <nav>
        <ul>
            <li><a href="#">首页</a></li>
            <li><a href="#">关于我们</a></li>
            <li><a href="#">联系我们</a></li>
        </ul>
    </nav>
    <section>
        <h2>关于我们</h2>
        <p>这是一个段落，介绍关于我们页面的内容。</p>
        <img src="example.jpg" alt="示例图片">
    </section>
    <article>
        <h3>文章标题</h3>
        <p>这是一个文章段落，包含详细内容。</p>
    </article>
    <aside>
        <h4>侧边栏</h4>
        <p>侧边栏内容。</p>
    </aside>
    <footer>
        <p>版权所有 &copy; 2023</p>
    </footer>
    <form>
        <label for="name">姓名:</label>
        <input type="text" id="name" name="name">
        <label for="email">电子邮件:</label>
        <input type="email" id="email" name="email">
        <label for="message">消息:</label>
        <textarea id="message" name="message"></textarea>
        <button type="submit">提交</button>
    </form>
    <table>
        <caption>示例表格</caption>
        <thead>
            <tr>
                <th>列1</th>
                <th>列2</th>
                <th>列3</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>数据1</td>
                <td>数据2</td>
                <td>数据3</td>
            </tr>
            <tr>
                <td>数据4</td>
                <td>数据5</td>
                <td>数据6</td>
            </tr>
        </tbody>
    </table>
</body>
</html>